<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<jsp:include page="header.jsp"></jsp:include>

<h1><fmt:message key="titleErreur" /></h1>

<c:choose>
    <c:when test="${not empty error}"><h4>${error}</h4></c:when>
    <c:when test="${not empty errorNb}"><h4><fmt:message key="errorNumber" /></h4></c:when>
    <c:when test="${not empty errorInvalideDonnees}"><h4><fmt:message key="errorInvalide" /></h4></c:when>
    <c:when test="${not empty errorInscriptionPseudo}"><h4><fmt:message key="msgInscriptionBadPseudo" /></h4></c:when>
    <c:when test="${not empty errorInscription}"><h4><fmt:message key="msgInscriptionBad" /></h4></c:when>
    <c:when test="${not empty errorLog}"><h4><fmt:message key="msgConnexionBad" /></h4></c:when>
    <c:when test="${not empty errorLogin}"><h4><fmt:message key="impossibleToConnect" /></h4></c:when>
</c:choose>
        
<p><fmt:message key="introErreur" /></p>

<jsp:include page="footer.jsp"></jsp:include>